package utils;

import java.util.Scanner;

public class ScannerSigleton {
   static ScannerSigleton scannerSigleton = null;

    private ScannerSigleton() {

    }

    public  static ScannerSigleton getInstance() {
        if(scannerSigleton == null) {
            scannerSigleton = new ScannerSigleton();
        }

        return scannerSigleton;
    }

    private static Scanner scanner = new Scanner(System.in);

    public static Scanner getScannerInstance() {
        return scanner;
    }
}
